package com.example.neusoft215gdh.androidpro_21.Service;

import com.example.neusoft215gdh.androidpro_21.JavaBean.MySelfBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Rainbow on 2017/11/1.
 */

public interface MySelfService {
    @GET("get/mod/user")
    Call<MySelfBean> getMySelf(
            //   @Query("SessionID") String sessionId,
            @Query("id") String  id
    );
    //获取个人信息



    @GET("updatename")    //修改个人信息
    Call <String> editTel(
            @Query("SessionID") String sessionId,
            @Query("userid") String  userid,
            @Query("user_name")  String user_name
    );


   // http://172.24.10.175/workout/api.php/updatepass/SessionID/060pn7sjorpnq5fp53kid5st54/userid/2/password/1234556

    @GET("updatepass")
    Call<Integer> update(
      @Query("SessionID") String sessionId,
      @Query("userid")   String userid,
      @Query("password") String password
    );

}
